import 'package:dk_flutter_module_sale/common/common_search/widget/widget_common_search_bar.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class PageSearchDemoWidget extends StatefulWidget {
  static const String routeName = '/page/search_demo_page';
  static const String name = "Search Demo";

  @override
  State<StatefulWidget> createState() {
    return PageTimeChooseDemoWidgetState();
  }
}

class PageTimeChooseDemoWidgetState extends State<PageSearchDemoWidget> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("Search Demo")),
      body: Column(
        children: <Widget>[
          CommonSearchBar(null,isShowCancel: true,placeHolder: '公寓编号/合同号/租户姓名/租户手机号',),
          CommonSearchBar(null,isShowCancel: true,initContent: '输入后的文案',),
          CommonSearchBar(null,placeHolder: '提示文字',),
        ],
      )
    );
  }
}
